package com.nut.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nut.common.BaseEntity;
import lombok.Data;
import java.util.Date;

@Data
@TableName("mall_order_pay_info")
public class OrderPayInfo extends BaseEntity {

    @TableId(type = IdType.ASSIGN_UUID)
    private Long id;

    //支付时间
    private Date payTime;

    //1微信支付 2余额支付 3微信余额混合支付
    private Integer payWay;

    //实际支付金额
    private Integer payMoney;

    //已退款金额
    private Integer cardLevel;

    //用户优惠券id
    private Integer couponId;

    //优惠券减金额
    private Integer couponMoney;

    //会员等级打折
    private Integer discount;

    //折扣减金额
    private Integer discountMoney;

    //余额支付金额
    private Integer balance;

    //余额支付状态 0未支付 1已支付
    private Integer balanceStatus;

    //余额退款金额
    private Integer balanceRefund;

    //积分倍数
    private Integer scoreTimes;

    //获得积分
    private Integer score;

    //积分状态 0未发放 1已发放
    private Integer scoreStatus;

}
